<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/dqm/knowledgebase/css/knowledge_detail.css"/>
<script type="text/javascript" src="${pageContext.request.contextPath}/dqm/knowledgebase/js/pager.js"></script>  
<script type="text/javascript" src="${pageContext.request.contextPath}/dqm/knowledgebase/js/knowledge_detail.js"></script>
<link href="${pageContext.request.contextPath}/js/scroll/mCustomScrollbar.css" rel="stylesheet" /> 
<script type="text/javascript" src="${pageContext.request.contextPath}/js/scroll/mCustomScrollbar.concat.min.js"></script> 
<div class="tab-container">
  <ul class='etabs'> 
    <li class='tab'>
    <div class='leftbg leftbg_select'></div> 
    <div class='centerbg centerbg_select'></div>
    <div class='rightbg rightbg_select'></div>
    <span  class="jbqx jbqx_select" flag="jbqx">基本情况</span>
    </li>
    <li class='tab'>
     <div class='leftbg'></div>  
     <div class='centerbg'></div>
     <div class='rightbg'></div>
     <span class="hfqx" flag="hfqx">回复情况</span></li>
    <li class='tab'>
    <div class='leftbg'></div>
    <div class='centerbg'></div>  
    <div class='rightbg'></div> 
      <span class="fjxx" flag="fjxx">附件信息</span></li> 
  </ul> 
  <div class="panel-container">
      <div title="基本情况">
		    <form id="problem_deal_form" method="post"> 
			 	<table border="0" cellpadding="0" cellspacing="0" height="450px"  width="100%" class="listtable">
			 	
			 		<input type="hidden" value="${knowledge.knowledgeId}" id="knowledgeId"/>
			 		<input type="hidden" value="${knowledge.evaluate}" id="evaluate"/>
					<tr>    
					      <td style="text-align:right;color:#398ece;font-weight:600;width:110px;height:45px;">知识名称：&nbsp;</td>
					      <td>${knowledge.knowledgeName}</td>
					      <td style="text-align:right;height:45px;color:#398ece;font-weight:600;">知识作者：&nbsp;</td>
					      <td >${knowledge.creator}</td>  
		     		</tr>  
		     		<tr> 
					      <td style="text-align:right;height:45px;color:#398ece;font-weight:600;">知识来源：&nbsp;</td>
					      <td>${knowledge.knowledgeSourceName}</td>
					      <td style="text-align:right;height:45px;color:#398ece;font-weight:600;">创建时间：&nbsp;</td>
					      <td>${knowledge.createTime}</td> 
		     		</tr> 
		     		<tr>
					      <td style="text-align:right;height:45px;color:#398ece;font-weight:600;">一级知识类型：&nbsp;</td>
					      <td>${knowledge.knowledgeOneTypeName}</td>
					      <td style="text-align:right;height:45px;color:#398ece;font-weight:600;">二级知识类型：&nbsp;</td> 
					      <td>${knowledge.knowledgeTwoTypeName}</td>
		     		</tr>   
		     		<tr>
					      <td style="text-align:right;height:45px;color:#398ece;font-weight:600;">知识评价：&nbsp;</td>
					      <td colspan="3" id="evaluateTd">
					      	              <div class="star-detail">
											<ul>
												<li imgval="1"></li>
												<li imgval="2"></li>
												<li imgval="3"></li>
												<li imgval="4"></li>
												<li imgval="5"></li> 
											</ul>
										</div>
					      </td>
		     		</tr> 
		    		<tr>
				      <td style="width:110px;text-align:right;height:164px;color:#398ece;font-weight:600;vertical-align:top;padding-top:8px;">知识描述：&nbsp;</td>
				      <td colspan="3">
				      	 <div id="knowledgeDescDiv" style="width:633px;padding-top:7px;line-height: 15px;height:165px;word-wrap:break-word;">${knowledge.knowledgeDesc}</div>
				      </td>      
		     		</tr>    
		     		<tr>    
				      <td style="width:110px;text-align:right;height:164px;color:#398ece;font-weight:600;vertical-align:top;padding-top:8px;">解决方案：&nbsp;</td>
				      <td  colspan="3"> 
				      	 <div id="solutionDiv" style="width:633px;height:165px;padding-top:7px;line-height: 15px;word-wrap:break-word;">${knowledge.solution}</div> 
				      </td>     
		     		</tr>  
				</table> 
		 	</form>
      </div>
      <div title="回复情况" style="display:none;margin: 0px;">   
       		  <div style="height:250px;widht:99%;">   
       		  <dl class="recom_list" id="replyContent"></dl>
			   <div style="width:100%;margin:0px;overflow:hidden;background-color:#f6f6f6;height:35px;">   
         		  <div id="pageNavigationDetail" style="margin-right: 10px;margin-top: 10px;"></div>
      		   </div> 
				<div style="padding: 10px 15px;">
				<table border="0" cellspacing="0"  cellpadding="0">
					      <tr>
							<th colspan="2" style="width:16px;padding: 0;margin: 0"> 
								<input type="hidden" value="0" id="evaluateScore"/>
							    <span style="float:left;font-weight:bold;display:block;line-height:16px">评价:</span>
								<div class="star-control">
									<ul>
										<li imgval="1"></li>
										<li imgval="2"></li>
										<li imgval="3"></li>
										<li imgval="4"></li>
										<li imgval="5"></li> 
									</ul>
								</div>
								</th>
						</tr>  
						<tr>
							<th colspan="2" style="padding-top:5px;">  
								 <div style="background:#ebf4fc;height:30px;width:745px;border:1px solid #e3e3e3;border-bottom:none;"/>  
								 <textarea  id="replyContentArea"  maxlength="100"  class="easyui-validatebox" data-options="required:false,validType:'length[0,100]'"  name="solution" style="width:745px;height:90px;resize:none;border-color:#e3e3e3;border-top:none;"></textarea>
							</th>
						</tr>   
						<tr>
							<th colspan="2" style="text-align:right;padding-right: 0px;padding-top: 5px;">
							   <input type="button" onclick="submitReply()" class="fbbtn" value="提 交 ">
							</th>
					</tr>
				</table>
				</div>
			</div>
      </div>
      <div title="附件信息" > 
       		<div data-options="region:'center'" id="fjDiv" class="easyui-panel"  style="height:400px;width:776px;border:none;margin:0px;" closed="true">    
	          <table id="table_datagrid" style="height:auto"></table> 
	      </div> 
      </div>
  </div>
</div>
 <iframe id="fileDownFrame" src="" style="display:none; visibility:hidden;"></iframe> 
